package com.example.schoolguider.mapper;

import com.example.schoolguider.model.Point;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author wjc
 * @date 2024/6/30 9:19
 */
@Mapper
public interface PointMapper {
    List<Point> selectAllPointsByAreaId(@Param("areaId") Long areaId);

    boolean insertPoint(Point point);

    boolean updatePoint(Point point);

    Point selectPointById(Long pointId);
}
